package com.itrip.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itrip.beans.pojo.AreaDic;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 区域字典表 Mapper 接口
 * </p>
 *
 * @author 周勉
 * @since 2020-02-28
 */
public interface AreaDicMapper extends BaseMapper<AreaDic> {

    List<AreaDic> getItripAreaDicListByMap(Map<String, Object> param);

    /**
     *  根据酒店ID获取商圈
     * @param id
     * @return
     * @throws Exception
     */
    List<AreaDic> getHotelAreaByHotelId(@Param(value = "id") Long id);
}
